import { ethers } from 'ethers'

export const formatUnits = (value, decimals) => {
  return ethers.utils.formatUnits(value, decimals)
}
export const toEther = (value) => {
  return ethers.utils.formatEther(value)
}

export const toChecksumAddress = (address) => {
  return ethers.utils.getAddress(address)
}
